<div class="container-fluid">
    <h3 style="color:#8C525B;border-bottom:1px solid #F1F1F1;padding-bottom:10px;padding-left:10px;">修改关怀</h3>
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">修改关怀信息</h3>
        </div>
        <div class="panel-body">
            <form action="ccare.php?action=update_check&cc_id=<?php echo $res['ccare_id']?>" method="post">
                <table class="c_add_table">
                    <tr>
                        <td>
                            <label for="">关怀主题</label>
                            <div><input name="care_theme" required="required" type="text" class="form-control" value="<?php echo $res['ccare_theme'];?>"/></div>
                        </td>
                        <td>
                            <label for="">关怀对象</label>
                            <div>
                                <select class="form-control c_add_select" name="care_obj" required="required">
                                  <?php if(isset($cArr)):?>
                                    <?php foreach($cArr as $v):?>
                                  <option><?php echo $v['c_id'].$v['c_name']?></option>
                                    <?php endforeach;?>
                                    <?php endif;?>
                                </select>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label for="">关怀时间</label>
                            <div><input name="care_time" required="required" type="text" class="form-control" value="<?php echo $res['ccare_time'];?>"/></div>
                        </td>
                        <td colspan="2">
                            <label for="">下次关怀时间</label>
                            <div><input name="care_nexttime" required="required" type="text" class="form-control" value="<?php echo $res['ccare_nexttime'];?>"/></div>
                        </td>
                    </tr>
                     <tr>
                        <td>
                            <label for="">关怀方式</label>
                            <div>
                                <select class="form-control c_add_select" name="care_type" required="required">
                                  <?php if(isset($ctypeArr)):?>
                                    <?php foreach($ctypeArr as $v):?>
                                  <option><?php echo $v['ct_id'].$v['ct_type']?></option>
                                    <?php endforeach;?>
                                    <?php endif;?>
                                </select>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <label for="">备注</label>
                            <div>
                                <textarea name="care_comment" cols="90" rows="3" class="form-control"><?php echo $res['ccare_comment'];?></textarea>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding-left:100px;">
                            <button class="btn btn-primary" type="submit">提交</button>
                            <button class="btn btn-info" type="reset">重置</button>
                            <a class="btn btn-default">返回</a>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
